﻿@{
    Layout = null;
    LeEdu.MODEL.UserInfo u = ViewBag.lst;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>个人主页</title>
</head>
<body>
    <div class="modal-header">
        <button type="button" class="close"
                data-dismiss="modal" aria-hidden="true">
            &times;
        </button>

        <span class="modal-title" id="myModalLabel">
            个人详细信息
        </span>

    </div>
    <div class="modal-body">
        <div class="table-responsive  table-bordered">
            <table class="table table-striped table-condensed table-bordered">
                <tr>
                    <td id="user">用户名</td>
                    <td>@u.Uname <a href="" class="pull-right">个人主页</a></td>
                </tr>
                <tr>
                    <td>Email</td>
                    <td>@u.Email</td>
                </tr>
                <tr>
                    <td>用户组</td>
                    <td>@(u.RoleId == 0 ? "管理员" : @u.RoleId == 1 ? "学员" : "教师")</td>
                </tr>
                <tr>
                    <td>注册时间/IP</td>
                    <td>@u.UTime</td>
                </tr>
                <tr>
                    <td>最近登录时间</td>
                    <td>@DateTime.Now</td>
                </tr>
                <tr>
                    <td>姓名</td>
                    <td>@(u.Uname == null ? "暂无" : u.Uname)</td>
                </tr>
                <tr>
                    <td>性别</td>
                    <td>@(u.Sex == 0 ? "男性" : "女性")</td>
                </tr>
                <tr>
                    <td>身份证号</td>
                    <td>@(u.IDCard == null ? "暂无" : u.IDCard)</td>
                </tr>
                <tr>
                    <td>手机号</td>
                    <td>@(u.PhoneNum == null ? "暂无" : u.PhoneNum)</td>
                </tr>
                <tr>
                    <td>公司</td>
                    <td>@(u.Company == null ? "暂无" : u.Company)</td>
                </tr>
                <tr>
                    <td>职业</td>
                    <td>@(u.Job == null ? "暂无" : u.Job)</td>
                </tr>
                <tr>
                    <td>头衔</td>
                    <td>@(u.Post == null ? "暂无" : u.Post)</td>
                </tr>
                <tr>
                    <td>个人签名</td>
                    <td>@u.Idiograph</td>
                </tr>
                <tr>
                    <td>自我介绍</td>
                    <td>@u.Self</td>
                </tr>
                <tr>
                    <td>个人网站</td>
                    <td>@(u.PersonalHome == null ? "暂无" : u.PersonalHome)</td>
                </tr>
                <tr>
                    <td>微博</td>
                    <td>@(u.Microblog == null ? "暂无" : u.Microblog)</td>
                </tr>
                <tr>
                    <td>微信</td>
                    <td>@(u.WeChat == null ? "暂无" : u.WeChat)</td>
                </tr>
                <tr>
                    <td>QQ</td>
                    <td>@(u.QQ == null ? "暂无" : u.QQ)</td>
                </tr>
            </table>
        </div>
    </div>
    <div class="modal-footer">
        <button type="button" class="btn btn-default"
                data-dismiss="modal">
            关闭
        </button>

    </div>
</body>
</html>